From b94781ecdac103a27b8e7a885cb227e97b9cbc02 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 23 Aug 2006 14:23:04 +0000 Subject: [PATCH] Finally fix HOSTCC CFLAGS, should close #707 SVN-Revision: 4636 --- openwrt/package/iproute2/Makefile | 2 +- .../package/iproute2/patches/004-hostcc_cflags.patch | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 openwrt/package/iproute2/patches/004-hostcc_cflags.patch diff --git a/openwrt/package/iproute2/Makefile b/openwrt/package/iproute2/Makefile index f7b63f30c6..2191dbaef5 100644 --- a/openwrt/package/iproute2/Makefile +++ b/openwrt/package/iproute2/Makefile @@ -30,7 +30,7 @@ $(PKG_BUILD_DIR)/.configured: touch $@ $(PKG_BUILD_DIR)/.built: - $(MAKE) -j1 -C $(PKG_BUILD_DIR)/netem HOSTCC=$(HOSTCC) CFLAGS="-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I ../include -DRESOLVE_HOSTNAMES" + $(MAKE) -j1 -C $(PKG_BUILD_DIR)/netem HOSTCC=$(HOSTCC) CFLAGS="-D_GNU_SOURCE -Wstrict-prototypes -Wall -I ../include -DRESOLVE_HOSTNAMES" $(MAKE) -j1 -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) KERNEL_INCLUDE=$(LINUX_DIR)/include all tc/tc ip/ip touch $@ diff --git a/openwrt/package/iproute2/patches/004-hostcc_cflags.patch b/openwrt/package/iproute2/patches/004-hostcc_cflags.patch deleted file mode 100644 index 6584f57c4b..0000000000 --- a/openwrt/package/iproute2/patches/004-hostcc_cflags.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -urN iproute2-2.6.11-050330/netem/Makefile iproute2-2.6.11-050330.new/netem/Makefile ---- iproute2-2.6.11-050330/netem/Makefile 2005-04-01 21:58:11.000000000 +0200 -+++ iproute2-2.6.11-050330.new/netem/Makefile 2006-08-23 10:23:05.000000000 +0200 -@@ -1,5 +1,6 @@ - DISTGEN = maketable normal pareto paretonormal - DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist -+CFLAGS = -D_GNU_SOURCE -Os -Wstrict-prototypes -Wall -I ../include -DRESOLVE_HOSTNAMES - - LDLIBS += -lm - -- 2.30.2